﻿using System.Collections.Generic;

namespace ModelLayer
{
    /// <summary>
    /// Interface IHasNeighbours is
    /// </summary>
    /// <typeparam name="TN"></typeparam>
    public interface IHasNeighbours<out TN>
    {
        IEnumerable<TN> Neighbours { get; }

        /// <summary>
        /// Sets the neigbour nodes for this node instance.
        /// </summary>
        /// <param name="edges">The edges.</param>
        void SetNeigbors(List<Edge> edges);
    }
}